package com.biz.primus.model.promotion.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 促销活动优惠券信息Vo
 *
 * @author david-liu
 */
@Getter
@Setter
@ApiModel(value = "促销活动优惠券信息Vo")
public class PromotionCouponVo implements Serializable {
    private static final long serialVersionUID = 5929983582294198249L;

    @ApiModelProperty(value = "优惠券ID")
    private Long id;

    @ApiModelProperty(value = "优惠券名称")
    private String name;

    @ApiModelProperty(value = "优惠券数量")
    private Integer quantity;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE);
    }
}
